import Home from "@pages/home"
import About from "@pages/About"

import { createBrowserRouter, RouterProvider } from "react-router-dom"

const router = createBrowserRouter([
    {
        path: "/",
        element: <Home></Home>
    },
    {
        path: "/about",
        element: <About></About>
    },
])

export default function HomeRouter() {
    return <RouterProvider router={router}></RouterProvider>
}

// css预编译器 ：less sass stylus